import csv
from urlsGet import urlsGet

def crawlStep1():
    file = open("openedCount.txt", "w")
    file.write(str(0))
    file.close()
    file = open("comment.csv", "w", encoding="UTF8")
    csv_write = csv.writer(file)
    csv_write.writerow(["itemId", "itemPage", "itemName", "commentTime", "Comment"])
    urlLists=urlsGet()
    return urlLists

if __name__=='__main__':
    crawlStep1()